import request from "@/utils/request";

// 获取路由
export const getRouters = () => {
  console.log(window.localStorage.getItem("Admin-Token"));
  return request({
    url: "/login/loginDetail",
    method: "post",
    headers: {
      "X-TOKEN": window.localStorage.getItem("Admin-Token"),
    },
  });
};
export const getRofenye = () => {
  console.log(window.localStorage.getItem("Admin-Token"));
  return request({
    url: "/menu/page",
    method: "post",
    headers: {
      "X-TOKEN": window.localStorage.getItem("Admin-Token"),
    },
  });
};
